package com.ck.master.controller.core;

import com.ck.master.bo.RestResponseBo;
import com.ck.master.controller.support.BaseController;
import com.ck.master.enums.ResultEnum;
import com.ck.master.model.Resource;
import com.ck.master.service.PowerPerformanceService;
import com.ck.master.service.ResourceService;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author yd
 * @Date 2018/12/21 16:12
 */
@Api(value = "/powerperformance", tags = "动环性能")
@Slf4j
@RestController
@RequestMapping("/powerperformance")
public class PowerPerformanceController extends BaseController {

    @Autowired
    private PowerPerformanceService powerPerformanceService;


    @GetMapping("/get")
    @ApiOperation(value = "框架测试")
    public RestResponseBo test(){
        log.info("go ok!");
        return RestResponseBo.ok(ResultEnum.LOGIN_SUCCESS.getMessage(),ResultEnum.LOGIN_SUCCESS.getCode());
    }



}
